{template header}
{if $tips}
<div class="alert">{$tips}<a class="close" data-dismiss="alert" href="#">&times;</a></div>
<script language="javascript">
    $(".alert").alert();
    $(".alert").bind('closed', function () {
        window.location.reload(); 
    })
</script>
{/if}
<form class="form-horizontal" action="" method="post">
  <div class="control-group">
    <label class="control-label" for="inputEmail">输入用户名：</label>
    <div class="controls">
      <input type="text" name='username' placeholder="请输入用户昵称">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword">输入设备号：</label>
    <div class="controls">
      <input type="text" name="client" placeholder="请输入设备号">
    </div>
  </div>
     <div class="control-group">
    <div class="controls">
        <button type="submit" class="btn">提交</button>
    </div>
  </div>
</form>
{template footer}
